<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<form id="frmcreatedetails" name="frmcreatedetails" method="post"
				action="EditDeals.do"  enctype="multipart/form-data">
<input type = "hidden" name = "dealid" value = "${requestScope.dealid}"/>
<input type = "hidden" name = "dealimage" value = "${requestScope.dealimage}"/>
<div class="boxeditadmin">
	<div class="paddingboxadmin">
		<div class="onerowedit">
			<a href="Deals.do"><img src="images/backbt.png" alt="#" border="0" /></a>
		</div>
		<div class="onerowedit">
			<h1 class="p2">EDIT DEAL</h1>
		</div>
		<div class="onerowedit">
			<span class="formlablerow">Deal name:</span><input class="inputadmin" type ="text" name = "dealname" value ="${requestScope.dealname}" />
		</div>
		<div class="onerowedit">
			<span class="formlablerow">Deal image:</span>
			<image style="width:100px; height:100px" src = "${requestScope.dealimage}"/>
		</div>
		<div class="onerowedit">
			<span class="formlablerow">.</span>
			<input class="inputadmin"  type ="file" name = "file" path = "file" />
		</div>
		<div class="onerowedit">
			<span class="formlablerow">Deal description:</span><input class="inputadmin"  type ="text" name = "dealdescription" value = "${requestScope.dealdescription}"/>
		</div>
		<div class="onerowedit" align="center">
			<input class="submitbuttonadmin" type ="submit" value = "Submit" name ="Submit"/>
		</div>
	</div>                  
</div>	
</form>